/**
 * 门店设置相关
 *
 */
import request from '@/utils/request'

// 获取店铺配置
export function getShopManageConfig(params) {
  return request({
    url: '/booking_admin/shop_manage/config',
    method: 'get',
    params: params
  })
}

// 更新店铺配置房型配置
export function saveShopManageCategoryConfig(data) {
  return request({
    url: '/booking_admin/shop_manage/config/category',
    method: 'post',
    data: data
  })
}

// 更新店铺配置其它配置
export function saveShopManageOtherConfig(data) {
  return request({
    url: '/booking_admin/shop_manage/config',
    method: 'post',
    data: data
  })
}
